package com.qf.servlet;

import com.qf.service.loginservice;
import com.qf.service.serviceImpl.loginserviceImpl;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@WebServlet("/delect")
public class delectServlet extends BaseServlet {
    public String delect(HttpServletRequest request, HttpServletResponse response){
        String id = request.getParameter("id");
        loginservice login=new loginserviceImpl();
         login.delect(id);
         return "redirect:/register.jsp";
    }
}
